package com.qiaofang.common.response;

import com.qiaofang.common.constant.CommonResponseCode;

public class SuccessfulResponseFactory {

    public static final CommonResponse SUCCESS_COMMON_RESPONSE = new CommonResponse();

    static {
        SUCCESS_COMMON_RESPONSE.setResponseCode(CommonResponseCode.RC_SUCCESS.getResponseCode());
        SUCCESS_COMMON_RESPONSE.setResponseMessage(CommonResponseCode.RC_SUCCESS.getResponseMessage());
    }

    public static CommonResponse getSuccessResponse() {
        return SUCCESS_COMMON_RESPONSE;
    }

}
